/*
 * Copyright (c) 2019.  鼎捷软件股份有限公司.All rights reserved.
 */

package com.digiwin.dap.middleware.entity;

public class RelationAssociationEntity {

    private String tableName;
    private String masterTable;
    private String masterField;
    private String slaveTable;
    private String slaveField;
    private String checkField;
    private boolean checkSelf;

    public RelationAssociationEntity() {
    }

    public RelationAssociationEntity(String tableName, String masterTable, String masterField,
                                     String slaveTable, String slaveField, String checkField, boolean checkSelf) {
        this.tableName = tableName;
        this.masterTable = masterTable;
        this.masterField = masterField;
        this.slaveTable = slaveTable;
        this.slaveField = slaveField;
        this.checkField = checkField;
        this.checkSelf = checkSelf;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getMasterTable() {
        return masterTable;
    }

    public void setMasterTable(String masterTable) {
        this.masterTable = masterTable;
    }

    public String getMasterField() {
        return masterField;
    }

    public void setMasterField(String masterField) {
        this.masterField = masterField;
    }

    public String getSlaveTable() {
        return slaveTable;
    }

    public void setSlaveTable(String slaveTable) {
        this.slaveTable = slaveTable;
    }

    public String getSlaveField() {
        return slaveField;
    }

    public void setSlaveField(String slaveField) {
        this.slaveField = slaveField;
    }

    public String getCheckField() {
        return checkField;
    }

    public void setCheckField(String checkField) {
        this.checkField = checkField;
    }

    public boolean isCheckSelf() {
        return checkSelf;
    }

    public void setCheckSelf(boolean checkSelf) {
        this.checkSelf = checkSelf;
    }
}
